|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Hi, I am trying to find a way (and failing at the moment) to include custom headers and footers on pages outside of UBB. At the moment I can pull in the default header and footer just fine, and of course forums can have their own custom headers/footers - but I cannot find a way to extend this outside of the forum. Anyone have any suggestions, or maybe someone wishes to earn a few pennies  Many thanks.
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I would just cheat. Create a new page for ubb (based on sample.inc.php). in &page_***_run() just include the script, buffer the output and pass the output as the only variable in $smarty_data. [ $smarty_data = array('stuff'=>$output); ] Then create a template that consists soley of Upload that, call ?ubb=***
Last edited by Ian Spence; 06/12/2007 5:57 PM.
|
|
|
|
|
Joined: Mar 2000
Posts: 21,080 Likes: 3
I type like Navaho
|
|
I type like Navaho
Joined: Mar 2000
Posts: 21,080 Likes: 3 |
Or you could cheat even more and just include the custom header/footer in the files you want.
|
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Yes - but then it would show both the default header and the custom one, surely - bearing in mind I also wish to keep the side bars 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Still struggling with this - thought I was onto a method - but it didn't work  LOL
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,834
Joined: January 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 655
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
|
|
|
|
|
|